﻿Imports Magic.Core
Public Class DATA_CONTAINER
    Public Unknown1 As Integer
    Public Unknown2 As Integer
    Public Unknown3 As Integer
    Public Unknown4 As Integer
    Public Unknown5 As Integer
    Public rawBytes() As Byte
    Public Sub Read(eR As EndianReader)
        Unknown1 = eR.ReadInt32
        Unknown2 = eR.ReadInt32
        Unknown3 = eR.ReadInt32
        Unknown4 = eR.ReadInt32
        Unknown5 = eR.ReadInt32
    End Sub
    Public Sub Write(eR As EndianWriter)
        eR.Write(Unknown1)
        eR.Write(Unknown2)
        eR.Write(Unknown3)
        eR.Write(Unknown4)
        eR.Write(Unknown5)
    End Sub
    Public Sub ReadRaw(eR As EndianReader)
        rawBytes = eR.ReadBytes(Unknown1)
    End Sub
    Public Sub WriteRaw(eR As EndianWriter)
        eR.Write(rawBytes)
    End Sub
End Class
